<?php
class Application_Form_Other extends Application_Form_Object
{
	public function __construct($options = null)
    {
        parent::__construct($options);
		$this->setName('Other');
		
		
		$category = new Zend_Form_Element_Text('category');
		$category->setLabel('Category:')
		->setRequired(true)
		->setFilters(array('StringTrim','StripTags'))
		->setValidators(array('NotEmpty'));
		
		$submit = new Zend_Form_Element_Submit('submit');
		$submit->setAttrib('id', 'submitbutton')
		->setLabel('Add');
		
		$elements = array( $category,$submit );
		$this->addElements($elements);
		
		
		
		
		$this->setDecorators( array( array('ViewScript', array('viewScript' => 'forms/loginform.phtml'))));


		
	}
}